package com.tqjc.mes.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@TableName(value = "STEELINFO")
@EqualsAndHashCode(callSuper = true)
@Data
@DS("mine")
@Schema(description = "测试表")
public class Test extends Model implements Serializable {  //数据库表字段必须大写

    @Schema(description = "钢板号")
    private String matNo;

    @Schema(description = "厚度")
    private Float matActThick;

    @Schema(description = "宽度")
    private Float matActWidth;

    @Schema(description = "长度")
    private Float matActLen;

    @Schema(description = "重量")
    private Float matActWt;
}
